package com.ghck.server.service;

import java.util.List;

import com.ghck.server.model.Knowledge;
import com.ghck.server.model.response.KnowledgeRes;

public interface KnowledgeService {
	/**
	 * 列表
	 * @param knowledge
	 * @return
	 */
	public List<KnowledgeRes> list(Knowledge knowledge,Integer start,Integer limit);
	/**
	 * 详情
	 * @param knowledge
	 * @return
	 */
	public KnowledgeRes detail(Knowledge knowledge);
	
	/**
	 * 文章添加
	 * @param knowledge
	 * @return
	 */
	public Knowledge add(Knowledge knowledge);
	/**
	 * 文章删除
	 * @param knowledge
	 */
	public void delete(Knowledge knowledge);
	/**
	 * 文章修改
	 * @param knowledge
	 */
	public void update(Knowledge knowledge);

}
